package com.cgtz.boot.dubbo.service.impl;

import com.cgtz.boot.dubbo.service.IHelloService;
import com.alibaba.dubbo.config.annotation.Service;

/**
 * Created by hedong on 2017/7/25.
 */
@Service(interfaceClass = IHelloService.class, protocol = "rest")
public class HelloServiceRestImpl implements IHelloService {
    @Override
    public String hello() {
        return "hello rest";
    }
}
